lcBlockAddTextWin2 Home

Adds a new Windows text object into a block.

 HANDLE lcBlockAddTextWin2 (
   HANDLE hBlock,
   LPCWSTR szText,
   double X,
   double Y
   int Align,
   double Height,
   double WScale,
   double RotAngle,
   double Oblique
 );

Parameters
hBlock
  Handle to a block.
szText
  Text string. It can contain formatting codes which allow to add specific characters.
X Y
  Coordinates of the Text insertion point.
Align
  Text alignment relative to the insertion point.
Height
  Text height, in drawing units.
WScale
  Text width factor (horizontal scale).
RotAngle
  Rotation angle.
Oblique
  Oblique angle for text characters.

Return Value

  Handle to created text object or NULL if the function fails.

Remarks

  If zero is specified for parameters Height, WScale or Oblique, then text style values will be used for this text object.

See Also

  lcBlockAddTextWin,   Text style,   Code sample